-
Home
-
Enable Mastodon Apps
-
0.6.1
-
Code
-
Classes
- AccessTokenStorage
Total Complexity |
29 |
Dependencies |
1 |
Dependents |
3 |
Total lines |
286 |
Lines of code |
139 |
Logical lines of code |
51 |
Comment lines |
113 |
Methods |
15 |
Properties |
1 |
Methods 15
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
setAccessToken() |
S |
56 |
5 |
18 |
getAccessToken() |
S |
55 |
3 |
20 |
getAll() |
S |
57 |
3 |
17 |
cleanupOldTokens() |
S |
56 |
2 |
19 |
__construct() |
S |
59 |
2 |
15 |
was_used() |
S |
63 |
3 |
10 |
uninstall() |
S |
62 |
2 |
12 |
unsetAccessToken() |
S |
68 |
2 |
7 |
sanitize_token() |
S |
78 |
1 |
3 |
sanitize_client_id() |
S |
78 |
1 |
3 |
sanitize_redirect_uri() |
S |
78 |
1 |
3 |
sanitize_scope() |
S |
78 |
1 |
3 |
sanitize_user_id() |
S |
80 |
1 |
3 |
sanitize_expires() |
S |
80 |
1 |
3 |
sanitize_last_used() |
S |
80 |
1 |
3 |